
import request from '@/config/axios'

// 用户信息
export interface UserInfoVO {
  name: string
  email: string
  phone: string
  remark: string
}

// 查询用户列表
export const getUserInfo = async () => {
  return await request.get({ url: `/custom/user/listByAll` })
}

// 新增用户
export const createUser = (data: UserInfoVO) => {
  return request.post({ url: '/custom/user/create', data })
}
